﻿using System;
using System.Globalization;
using System.Windows.Data;
using FFmpegVideoClip.Lib.ClipGroups;

namespace FFmpegVideoClip.Lib.UtilityControlsTools
{
    [ValueConversion(typeof(ClipGroupInfo), typeof(string))]
    internal class CreationGroupButtonConvert : IValueConverter
    {
        public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
        {
            return value is null ? "创建组" : "删除组";
        }

        public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
        {
            throw new NotImplementedException();
        }
    }
}
